package com.yixun.qfbao.request;

import com.yixun.qfbao.apidto.base.CommonReqDTO;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;

/**
 * @Author: generator
 * @Date: 2018-12-24 21:16:17
 * @Description:
 */
public class BaseRequest<T> extends CommonReqDTO {
	private static final long serialVersionUID = 1L;
	
	@Valid
	@NotNull
    private T data;

	public T getData() {
		return data;
	}

	public void setData(T data) {
		this.data = data;
	}
}
